package com.leesche.zcsp.node.web.service.impl;

import com.leesche.zcsp.node.web.service.impl.data.read.QueryPubDeviceTypeCondition;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leesche.zcsp.node.web.dao.PubDevicetypeDao;
import com.leesche.zcsp.node.web.model.PubDevicetype;
import com.leesche.zcsp.node.web.model.PubDevicetypeCriteria;
import com.leesche.zcsp.node.web.service.PubDevicetypeService;
import com.leesche.zcsp.node.web.service.impl.data.read.PubDevicetypeDto;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Title: PubDevicetypeServiceImpl.java
 * @Package com.leesche.zcsp.node.service.impl
 * @Description:()
 * @author dennies yang
 * @date 2016年9月22日 下午4:23:09
 * @version V1.0
 */
@Service
@Transactional
public class PubDevicetypeServiceImpl
		extends
		BaseServiceImpl<PubDevicetype, PubDevicetypeCriteria, PubDevicetypeDto, QueryPubDeviceTypeCondition, Long>
		implements PubDevicetypeService {
	@Autowired
	private PubDevicetypeDao pubDevicetypeDao;

	@Autowired
	public void setBaseDao(PubDevicetypeDao pubDevicetypeDao) {
		super.setBaseDao(pubDevicetypeDao);
	}

	@Override
	public List<PubDevicetypeDto> findDeviceTypeList() {
		return pubDevicetypeDao.findDeviceTypeList();
	}
}
